#define  _CRT_SECURE_NO_WARNINGS	1
#include <stdio.h>
void Printf(int(* p)[5], int x, int y)
{
	int i = 0;
	int j = 0;
	for (i = 0; i < x; i++)
	{
		for (j = 0; j < y; j++)
		{
			printf("%d ", p[i][j]);
		}
		printf("\n");
	}
}
int main()
{
	/*char a = 'w';
	char* p = &a;
	printf("%p\n", p);*/
	/*char arr[] = "abcdef";
	char* p1 = arr;
	printf("%p\n", p1);
	char* p2 = "abcdef";
	printf("%p\n", p2);*/
	//char arr[] = "abcdef";
	///*char* p2 = "abcdef";*/char* p = "abcdef"
	//printf("%c\n", arr[1]);
	//printf("%c\n", "abcdef"[1]);
	/*char* p2 = "abcdef";*/
	//char* p = "abcdef";
	//*p = 'w';
	/*char str1[] = "hello bit.";
	char str2[] = "hello bit.";
	const char* str3 = "hello bit.";
	const char* str4 = "hello bit.";*/
	/*if (str1 == str2)
		printf("str1 and str2 are same\n");
	else
		printf("str1 and str2 are not same\n");

	if (str3 == str4)
		printf("str3 and str4 are same\n");
	else
		printf("str3 and str4 are not same\n");*/
	/*char str1[] = "hello bit.";
	char str2[] = "hello bit.";*/
	/*const char* str3 = "hello bit.";
	const char* str4 = "hello bit.";
	printf("str3=%p\n", str3);
	printf("str4=%p\n", str4);*/
	int arr[3][5] = { 1,2,3,4,5  ,4,5,6,7,8  ,1,8,9,3,5 };
	Printf(arr, 3, 5);
	return 0;
}
